import request from '@/utils/request'

//获取所有器材
export function getEquipment(data){
  return request({
    url:'/gym-admin/equipment/list',
    method:'',
    data
  })
}
// 添加器材
export function addEquipment(data){
  return request({
    url:'/gym-admin/equipment/add',
    method:'',
    data
  })
}
// 修改器材信息
export function updateEquipment(data){
  return request({
    url:'/gym-admin/equipment/edit',
    method:'',
    data
  })
}
// 删除器材
export function deleteEquipment(data){
  return request({
    url:'/gym-admin/equipment/delete',
    method:'',
    data
  })
}



